/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data;

import java.io.Serializable;

/**
 *
 * @author Quang
 */
public class Column implements Serializable{
    private String name;
    private int type;
    private Boolean isPrimary;
    public Column(){
        name = null;
        type = 0;
        isPrimary = false;
    }
    public Column(String n, int t, Boolean p){
        name = n;
        type =t;
        isPrimary = p;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the type
     */
    public int getType() {
        return type;
    }

    /**
     * @return the isPrimary
     */
    public Boolean getIsPrimary() {
        return isPrimary;
    }
}
